package service

import (
	ClickHouse "gin/database"
	"gin/model"
)

// GetStepList 获取工序列表
func (s *Step) GetStepList(where interface{}) (res []model.Step, err error) {
	err = ClickHouse.DB.Model(&model.Step{}).Where(where).Find(&res).Error
	return
}
